<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>padding</title>
		<style>
			/*body
			{
				margin:0;
				padding:0;
			}*/
			*{
				margin:0;
				padding:0;
			}
			.div1
			{
				border:1px solid red;
				width:200px;
				height:200px;
				background-color: cyan;
			}
			.div2
			{
				width:100px;
				height:80px;
				padding: 10px;
			}
		</style>
	</head>
	<body>
		<div class="div1">div</div>
		<div class="div2">div</div>
	</body>
</html>
